package com.baomibing.flow.model;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomibing.flow.execute.Executor;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

/**
 * BaseNode
 *
 * @author frog 2023/9/18 14:08
 * @version 1.0.0
 **/
@Getter @Setter
@Accessors(chain = true) @ToString
public abstract class BaseNode implements Executor {
    protected String nodeId;
//    protected String id;
    protected String name;
//    protected String description;
    protected String style;
    @JSONField(serialize = false)
    protected WorkFlow flow;
    protected String nodeType;

    protected Boolean passed = Boolean.FALSE;


}
